home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / macros / plain / contrib / memo.tex < prev    next >
Encoding:
Text File  |  1992-08-26  |  1.8 KB  |  41 lines

  1. %
  2. % Memo -- Generate a memo banner
  3. %
  4. % Use \memodept{ text } to define the department text.
  5. % Use \memocirc{ text } to define the to field.
  6. % Use \memodate{ text } to define the date the memo will be sent (default is
  7. %         the current date that TeX processes the file).
  8. % Use \memofrom{ text } to define the from field.
  9. % Use \memophone{ text } to define the phone number of the sender.
  10. % Use \memomail{ text } to define the mail code of the sender.
  11. % Use \memosubj{ text } to define the subject of the memo.
  12. %
  13. % Use \memohdr to print the memo banner once the fields above have been defined
  14. %
  15. \nopagenumbers
  16. \def\today{\ifcase\month\or January\or February\or March\or April\or
  17.     May\or June\or July\or August\or September\or October\or November\or
  18.     December\fi\space\number\day, \number\year}
  19. \def\memotwobx#1#2{\line{{To}\hskip 10pt #1\hfill{Date}\hskip 10pt #2}}
  20. \def\memothrbx#1#2#3{\line{{From}\hskip 10pt #1\hfill\hfill\hfill
  21.     {Extension}\hskip 10pt #2\hfill{Mail Code}\hskip 10pt #3}}
  22. \def\memoltbx#1{\line{{Subject}\hskip 10pt #1\hfill}}
  23. \def\memoya{Chemistry}          \def\memoyb{You}
  24. \def\memoyc{\today}             \def\memoyd{Me}
  25. \def\memoye{6532}               \def\memoyf{Misc.}
  26. \def\memoyg{127-72}
  27. \def\memodept#1{\def\memoya{#1}}\def\memocirc#1{\def\memoyb{#1}}
  28. \def\memodate#1{\def\memoyc{#1}}\def\memofrom#1{\def\memoyd{#1}}
  29. \def\memophone#1{\def\memoye{#1}}\def\memosubj#1{\def\memoyf{#1}}
  30. \def\memomail#1{\def\memoyg{#1}}
  31. \font\fiverm=ambx5                  % Change to CMBX5 if you use new TeX 2.0
  32. \def\memohdr{\centerline{\fiverm interoffice memorandum}\par
  33.      \null\par
  34.      \centerline{\bf CALIFORNIA INSTITUTE OF TECHNOLOGY} % Change this line
  35.      \centerline{\bf {\memoya}}
  36.      \null\par
  37.      \memotwobx{\memoyb}{\memoyc}
  38.      \memothrbx{\memoyd}{\memoye}{\memoyg}
  39.      \memoltbx{\memoyf}
  40.      \vskip 10pt}
  41.